<#include "../inc/head.html"/>
<h1>${currChannel.name}</h1>

<form name="mailForm" method="post" 
action="${contextPath}templet_pro.do?siteid=${site.id}&templetPath=report/reportQuery.html&currChannelid=${currChannel.id}" >
<table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="60" height="35" align="center" valign="middle" >查询码：</td>
              <td width="160" height="35" align="left" valign="middle"><input type="text" name="querycode"  style="width:150px;" /></td>
              </tr>
              <tr>
                <td width="80" height="35" align="center" valign="middle"><input type="submit" name="button3" id="button3" value="查询" /></td>
                <td width="80" height="35" align="center" valign="middle"><input type="reset" name="button4" id="button4" value="重置" /></td>
              </tr>
          </table>
      </form>
<@reportQuery querycode='${querycode!""}' cache='true';report>
          <#if (""!=(report.id!""))>
          <table width="710" border="0" cellpadding="0" cellspacing="1" bgcolor="#E6E6E6">
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">项目名称：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.name}</td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报单位：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.unit}</td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报文件名称：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.filename}</td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报文件文号：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.filenum}</td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报文件附件：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <#if (report.attch!"")!="">
              <a href="${contextPath}${report.attch }" target="_blank">附件下载</a>
              </#if>
              </td>
            </tr>
            
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">联系人：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.linkman}</td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">签发人：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.issuer}</td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">联系电话：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              ${report.tel}</td>
            </tr>
            <tr>
                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">办理状态</td>
                <td height="30"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">
                <#if ((report.state!"") == "1")>已办结</#if>
		<#if ((report.state!"") != "1")>处理中</#if></td>
              </tr>
              <tr>
                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">转办流程</td>
                <td height="30"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">
                ${report.proflow!"" }</td>
              </tr>
              <tr>
                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">办理结果</td>
                <td height="120"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">
                <textarea name="content" cols="45" rows="5" class="jzxx_d_box" readonly>${report.recontent!"" }</textarea></td>
              </tr>
              <tr>
                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">办理时间</td>
                <td height="30"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">
                ${report.retimeStr!""}</td>
              </tr>
          </table>
          <#else>
          <table width="710" border="0" cellpadding="0" cellspacing="1" bgcolor="#E6E6E6">
            <tr>
              <td  height="30" align="left" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">
<font color="red"><b>没有找到相关数据!</b></font>
</td>
            </tr>
          </table>
          </#if>
          </@reportQuery>
<#include "../inc/foot.html"/>

